var IncSetup = function() {

}

IncSetup.prototype = {
	onPageShow : function() {
		console.log(this);
		$("#setupLogin").bind('click', function(event) {
			//로그인버튼
			document.globalObj.LOGIN_DATA.loginAfterUrl = "../inc/setup_out.html";
		  $.mobile.changePage("../member/login.html");
		});
		$("#setupPopPrivacy").bind('click', function(event) {
			//개인정보 취급방침
		  $.mobile.changePage("../member/pop_privacy.html");
		});
		$("#setupPopAgree").bind('click', function(event) {
			//이용약관
		  $.mobile.changePage("../member/pop_agree.html");
		});
		
		//<a id="setupLogin" href="../member/login.html" data-role="button" data-transition="slide" data-theme="a">로그인 하기</a>
		//<li><a id="setupPopPrivacy" href="../member/pop_privacy.html" data-transition="slide">개인정보 취급방침</a></li>
        //<li><a id="setupPopAgree" href="../member/pop_agree.html" data-transition="slide">이용약관</a></li>
         // 버전 표시
         // 현재 버전
         $('ul:last li:first mark').html(document.globalObj.VERSION.current);
         // 최신 버전
         $('ul:last li:last mark').html(document.globalObj.VERSION.newest);
	}
}; 